{% extends "author_app/base.html" %}

{% block content %}
  {% load comments %}
  <h1>Authors</h1>
  <ul>
    {% for a in object_list %}
      {% get_comment_count for author_app.author a.pk as cc %}
      <li><a href="{{ a.pk }}/">{{ a }}</a> ({{ cc }} comment{{ cc|pluralize }})</li>
    {% endfor %}
  </ul>
{% endblock %}

